{extend name="base" /}
{block name="css"}
<link rel="stylesheet" type="text/css" href="__STATIC__/plugins/mmgrid/mmGrid.css?v={$v}" />
{/block}
{block name="js"}
<script src="__STATIC__/plugins/mmgrid/mmGrid-all.js?v={$v}" type="text/javascript"></script>
<script src="__ADMIN__/goodsconsult/goodsconsult.js?v={$v}" type="text/javascript"></script>
{/block}
{block name="main"}
<div class="wst-toolbar">
	<div id="query" style="float:left;">
		<select id="type" name='type' class='query'>
		  <option value="0">-咨询类别-</option>
		  	{volist name=":WSTDatas('COUSULT_TYPE')" id="vo"}
        	<option value="{$vo['dataVal']}">{$vo['dataName']}</option>
        	{/volist}
		</select>
		<input type="text" name="consultKey" placeholder='咨询内容' id="consultKey" class="query" />
		<button type="button"  class='btn btn-primary btn-mright'onclick="javascript:loadGrid()" ><i class="fa fa-search"></i>查询</button>
	</div>
   <div style="clear:both"></div>
</div>
<div class='wst-grid'>
 <div id="mmg" class="mmg layui-form"></div>
 <div id="pg" style="text-align: right;"></div>
</div>
<script>
$(function(){
	initGrid({$p});
});
</script>

{/block}